package cn.ecut.dao;

import cn.ecut.model.Fangjian;
import cn.ecut.model.Puwei;
import cn.ecut.model.Xiangmu;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface PuweiDao {
    int deleteByPrimaryKey(String puweibianhao);

    int insert(Puwei puwei);

    int insertSelective(Puwei record);

    Puwei selectByPrimaryKey(String puweibianhao);

    int updateByPrimaryKeySelective(Puwei record);

    int updateByPrimaryKey(Puwei puwei);

    List<Puwei> selectAll();

    int selectAllcount();

    List<Puwei> advanceSelect(String s);

    String selectThelast();

    int updateQiyong(Puwei puwei);

    Fangjian selectFangjian(String fangjianbianma);

    int selectAllcountPuwei(String fangjianbianma);

    List<Fangjian> selectAllfangjian();

    int updateShifouyoupuwei(Fangjian fangjian);

    String selectFangjianbianma(String puweibianhao);

    int updateShiyongzhuangtai(Fangjian fangjianbian);
}